<!--
 * @Description: 
 * @Version: V1.0.0
 * @Author: yangshangru yangshangru@supconit.com
 * @Date: 2024-07-25 10:58:44
 * @LastEditors: yangshangru yangshangru@supconit.com
 * @LastEditTime: 2024-08-08 20:06:35
 * @FilePath: DigitalCollationDetail.vue
 * 2024-07-25 10:58:44
-->
<template>
  <VDetailContent
    type="1"
    title="数字著录流程"
    :id="id"
  ></VDetailContent>
</template>

<script setup lang="ts">
import { watch } from 'vue'
import VDetailContent from './components/DigitalCollationDetailContent.vue'

import { ref } from 'vue'
import { useRoute } from 'vue-router'

const route = useRoute()
const id = ref()
watch(
  () => route,
  async () => {
    if (route.path == '/OA/DigitalCollation/DigitalCollationDetail') {
      id.value = route.query.id
    }
  },
  { deep: true, immediate: true }
)
</script>
